// 引入gltf模型加载库GLTFLoader.js
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
import {
    DoubleSide,
    Mesh,
    MeshBasicMaterial,
    PlaneGeometry,
    RepeatWrapping,
    TextureLoader,
} from "three";
// 实例化GLTF加载器对象
const loader = new GLTFLoader();

const meshGeometry = new Promise((res, rej) => {
    loader.load("/scene.gltf", function (gltf) {
        res(gltf.scene);
    });
});

console.log("meshGeometry - 6.1", meshGeometry);

// const geometry = new PlaneGeometry(60, 60);
// const meshGeometry = new Mesh(geometry, material);
export { meshGeometry };
